package com.cbh;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * ClassName: App<br>
 * Description: 项目入口.<br>
 *
 * @author Sean
 * @date: 2017年3月7日 上午10:32:50
 * @version V1.0
 * @since JDK 1.8
 */
@EnableEurekaClient
@EnableDiscoveryClient
@SpringBootApplication
public class GeneralApp {
	private static final Log logger = LogFactory.getLog(GeneralApp.class);

	public static void main(String[] args) {
		logger.info("服务器：开始启动");
		SpringApplication.run(GeneralApp.class, args);
		logger.info("服务器：启动完毕");
	}
}
